﻿<src:WpfConfiguration x:Class="DisplayWindowModuleWpf.Wpf.DisplayWindowConfig"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:src="clr-namespace:MayhemWpf.UserControls;assembly=MayhemWpf" 
             mc:Ignorable="d" 
             Width="400">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100" />
            <ColumnDefinition Width="300" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>

        <TextBlock Style="{StaticResource ConfigLabel}" Grid.Column="0" Grid.Row="0">Message:</TextBlock>
        <TextBox Name="MessageBox" Grid.Column="1" Grid.Row="0" TextChanged="MessageText_TextChanged"/>
   
        <TextBlock Style="{StaticResource ConfigLabel}" Grid.Column="0" Grid.Row="1">Seconds:</TextBlock>
        <TextBox Name="SecondsBox" Grid.Column="1" Grid.Row="1" TextChanged="SecondsBox_TextChanged"/>

        <TextBlock Style="{StaticResource ConfigErrorMessage}" Name="textInvalid" Grid.Column="1" Grid.Row="2">Message is invalid</TextBlock>
    </Grid>
</src:WpfConfiguration>
